/**
 * Created by wangshaohua on 2018/1/19.
 */
moduleResource.factory("LearningMapTaskMessageExerciseResource", function (CambioResource, $$CambioConfig) {
    const resource = $$CambioConfig.SZ_MANAGEMENT_SYSTEM_RESOURCE_URL + "/learningMap/exercise/task/message";

    return CambioResource(resource, {}, {
        query: {
            url: resource + "/query/:learningMapTaskId/:pageNo/:pageSize",
            method: 'GET'
        },
        find: {
            url: resource + "/find/:status/:pageNo/:pageSize",
            method: 'GET'
        },
        approve: {
            url: resource + "/approve/:userTaskStudyId/:userTaskStudyContentId",
            method: 'PUT'
        },
        reject: {
            url: resource + "/reject/:userTaskStudyId/:userTaskStudyContentId",
            method: 'PUT'
        }
        //update: {
        //    url: resource + "/update",
        //    method: 'PUT'
        //}
    });
});